Northwoods.GoSilverlight 1.3.5 Assembly
RaisePropertyChanged Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > GraphLinksModelLinkData<NodeKey,PortKey> Class : RaisePropertyChanged Method

pname
the property name
oldval
the value before the property was set
newval
the new value
Call this method from property setters to raise the PropertyChanged event.

Syntax

Visual Basic (Declaration) 
Protected Sub RaisePropertyChanged( _
   ByVal pname As String, _
   ByVal oldval As Object, _
   ByVal newval As Object _
) 
C# 
protected void RaisePropertyChanged( 
   string pname,
   object oldval,
   object newval
)

Parameters

pname
the property name
oldval
the value before the property was set
newval
the new value

Remarks

Only call this method when the property value actually changes. The oldval and newval values are needed to support undo/redo.

Requirements

See Also

© 2012 All Rights Reserved.